Fix function call syntax in vif-route and vif-nat.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 11 Nov 2005 16:04:17 +0000 (17:04 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 11 Nov 2005 16:04:17 +0000 (17:04 +0100)
Function calls in shell script should not contain parenthesis.

Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
tools/examples/vif-nat
tools/examples/vif-route

index 2d751edc60d787d5309f34251c3f9ae507f41b03..9392f3d0ab2d941b32f22960ff065e61b2fb1472 100644 (file)
@@ -53,6 +53,6 @@ esac
 
 ip r ${ipcmd} ${ip} dev ${vif} src ${main_ip}
 
-handle_iptable()
+handle_iptable
 
 success
index c804a01840c34ef18f2a21fddf40a887ef14ce71..7e640b22ff583849a87fa65ea75fcd2e1200bb42 100755 (executable)
@@ -45,6 +45,6 @@ if [ "${ip}" ] ; then
     done 
 fi
 
-handle_iptable()
+handle_iptable
 
 success